# -*-coding:utf-8-*-
"""
@project: python-project
@Time: 2024-07-12 15:25
@Author: Loneliness_Burial
@File: numpy元素级.py
@Motto: 深情不改必坠死海
@software: pycharm
@version: python 3.7
"""

import numpy as np

v1 = np.arange(5)
print(v1)
v2 = v1 + 2
print(v2)
v3 = v1 * v1
print(v3)
v4 = v1.reshape((1, 5))
print(v4)
v5 = np.arange(15).reshape((3, 5))
print(v5)
v6 = v4 + v5
print(v6)
